home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Moscow ML 1.42 / src / config / s-templ.h < prev   
Encoding:
C/C++ Source or Header  |  1997-08-18  |  3.2 KB  |  123 lines  |  [TEXT/R*ch]

  1. /* Operating system and standard library dependencies. */
  2.  
  3. /* 1. For the runtime system. */
  4.  
  5. #define HAS_MEMMOVE
  6.  
  7. /* Define HAS_MEMMOVE if you have `memmove', and if
  8.   `memmove' is guaranteed to work even on overlapping areas.
  9.   That's the case if your library is ANSI C compliant. */
  10.  
  11. #define HAS_BCOPY
  12.  
  13. /* Define HAS_BCOPY if you have `bcopy', and if
  14.    `bcopy' is guaranteed to work even on overlapping areas. */
  15.  
  16. #define HAS_MEMCPY
  17.  
  18. /* Define HAS_MEMCPY if you have `memcpy', and if
  19.    `memcpy' is guaranteed to work even on overlapping areas. */
  20.  
  21. /* If none of HAS_MEMMOVE, HAS_BCOPY, and HAS_MEMCPY is defined, then we'll
  22.    use our own memory copy routine. It might be slightly slower than the
  23.    routines provided in the standard library, but at least it is guaranteed
  24.    to work. So, in doubt, don't define anything. */
  25.  
  26. #define HAS__SETJMP
  27.  
  28. /* Define HAS__SETJMP if you have `_setjmp' and
  29.    `_longjmp' as faster variants of `setjmp' and `longjmp'. */
  30.  
  31. typedef int sighandler_return_type;
  32.  
  33. /* Define as sighandler_return_type the return type of signal handlers
  34.    (the functions that are passed to signal()). Usually `int' on older
  35.    systems, `void' on newer systems. */
  36.  
  37. #define BSD_SIGNALS
  38.  
  39. /* Define BSD_SIGNALS if signal handlers have the BSD semantics: the handler
  40.    remains attached to the signal when the signal is received. Leave it
  41.    undefined if signal handlers have the System V semantics: the signal
  42.    resets the behavior to default. */
  43.  
  44. #define HAS_RENAME
  45.  
  46. /* Define HAS_RENAME if you have rename(). */
  47.  
  48. #define HAS_STRERROR
  49.  
  50. /* Define HAS_STRERROR if you have strerror(). */
  51.  
  52. /* 2. For the Unix library. */
  53.  
  54. #define HAS_SOCKETS
  55.  
  56. /* Define HAS_SOCKETS if you have BSD sockets. */
  57.  
  58. #define HAS_UNISTD
  59.  
  60. /* Define HAS_UNISTD if you have /usr/include/unistd.h. */
  61.  
  62. #define HAS_DIRENT
  63.  
  64. /* Define HAS_DIRENT if you have /usr/include/dirent.h and the result of
  65.    readdir() is of type struct dirent *.
  66.    Otherwise, we'll load /usr/include/sys/dir.h, and readdir() is expected to
  67.    return a struct direct *. */
  68.  
  69. #define HAS_LOCKF
  70.  
  71. /* Define HAS_LOCKF if the library provides the lockf() function. */
  72.  
  73. #define HAS_MKFIFO
  74.  
  75. /* Define HAS_MKFIFO if the library provides the mkfifo() function. */
  76.  
  77. #define HAS_GETPRIORITY
  78.  
  79. /* Define HAS_GETPRIORITY if the library provides getpriority() and
  80.    setpriority(). Otherwise, we'll use nice(). */
  81.  
  82. #define HAS_UTIME
  83. #define HAS_UTIMES
  84.  
  85. /* Define HAS_UTIME if you have /usr/include/utime.h and the library
  86.    provides utime(). Define HAS_UTIMES if the library provides utimes(). */
  87.  
  88. #define HAS_DUP2
  89.  
  90. /* Define HAS_DUP2 if you have dup2(). */
  91.  
  92. #define HAS_FCHMOD
  93.  
  94. /* Define HAS_FCHMOD if you have fchmod() and fchown(). */
  95.  
  96. #define HAS_TRUNCATE
  97.  
  98. /* Define HAS_TRUNCATE if you have truncate() and
  99.    ftruncate(). */
  100.  
  101. #define HAS_SELECT
  102.  
  103. /* Define HAS_SELECT if you have select(). */
  104.  
  105. #define HAS_SYMLINK
  106.  
  107. /* Define HAS_SYMLINK if you have symlink() and readlink() and lstat(). */
  108.  
  109. #define HAS_WAIT3
  110. #define HAS_WAITPID
  111.  
  112. /* Define HAS_WAIT3 if you have wait3().
  113.    Define HAS_WAITPID if you have waitpid(). */
  114.  
  115. #define HAS_GETGROUPS
  116.  
  117. /* Define HAS_GETGROUPS if you have getgroups(). */
  118.  
  119. #define HAS_TERMIOS
  120.  
  121. /* Define HAS_TERMIOS if you have /usr/include/termios.h and it's 
  122.    Posix-compliant. */
  123.